jQuery(document).ready(function(){
    // check and unchecked list items
    jQuery('#check_all_items').live('click', function(){
        jQuery('#check_all_items').checkAllItems();
    });

    // bulk action
    jQuery('#bulk_action_delete').live('click', function(){
        jQuery('#bulk_action_delete').bulkAction('delete');
    });
    jQuery('#bulk_action_published').live('click', function(){
        jQuery('#bulk_action_published').bulkAction('published');
    });
    jQuery('#bulk_action_unpublished').live('click', function(){
        jQuery('#bulk_action_unpublished').bulkAction('unpublished');
    });
});